/*
 * Copyright (c) 2020-2099 the original author or authors. All rights reserve.
 */
package org.tianyun.cloud.openfeign.autoconfigure;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.tianyun.cloud.openfeign.interceptors.ServletContextInterceptor;

/**
 * 自动配置类
 *
 * @auther ebert_chan
 */
@Configuration(proxyBeanMethods = false)
public class OpenFeignAutoConfiguration {

    @Bean
    public ServletContextInterceptor servletContextInterceptor() {
        return new ServletContextInterceptor();
    }

}
